<?php

class Application_Model_DbTable_Like extends Zend_Db_Table_Abstract
{

    protected $_name = 'tbl_customer_like';

    protected $_primary ='id';
    
    protected $_referenceMap = array(
      'khachhang'=>array(
              'columns'=>'id_cus',
              'refTableClass' =>'Application_Model_DbTable_Khachhang',
              'refColumns' => 'id',
              'onDelete' => self::CASCADE,
              'onUpdate' => self::RESTRICT
      ),
      'sanpham'=>array(
    		  'columns'=>'id_sp',
    		  'refTableClass' =>'Application_Model_DbTable_Sanpham',
    		  'refColumns' => 'id',
    		  'onDelete' => self::CASCADE,
    		  'onUpdate' => self::RESTRICT
      )
    );
}

